package com.itheim.client.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author longbosheng
 * @Date 2022/6/19 16:55
 * @PackageName:com.itheim.client.pojo
 * @ClassName: ShoppingCart
 * @Description: TODO
 * @Version 1.0
 */
@TableName("shopping_cart")
@Data
public class ShoppingCart {
    @TableId(value ="id",type = IdType.ASSIGN_ID)
    private String id;
    private String name;
    @TableField(value = "user_id")
    private String userId;
    @TableField(value = "dish_id")
    private String dishId;
    @TableField(value = "setmeal_id")
    private String setmealId;
    @TableField(value = "dish_flavor")
    private String dishFlavor;
    private int number;
    private BigDecimal amount;
    private String image;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
}
